package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞标项目检查对象 tb_project_check
 *
 * @author ruoyi
 * @date 2025-09-22
 */
public class ProjectCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * tag
     */
    @Excel(name = "tag")
    private Long tag;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 行业类目id
     */
    @Excel(name = "行业类目id")
    private Long cateId;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /**
     * win
     */
    @Excel(name = "win")
    private Long win;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 0未开始 1已开始 2已结束 3已作废
     */
    @Excel(name = "0未开始 1已开始 2已结束 3已作废")
    private Integer status;

    /**
     * 项目id
     */
    @Excel(name = "项目id")
    private Long projectId;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTag(Long tag) {
        this.tag = tag;
    }

    public Long getTag() {
        return tag;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public Long getCateId() {
        return cateId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setWin(Long win) {
        this.win = win;
    }

    public Long getWin() {
        return win;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tag", getTag())
                .append("title", getTitle())
                .append("cateId", getCateId())
                .append("content", getContent())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("win", getWin())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("projectId", getProjectId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
